package cn.yunhe.entity;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Block implements Serializable {
    private int blockid;
    private String blockName;
    private Set<News> news = new HashSet<News>();

    public int getBlockid() {
        return blockid;
    }

    public void setBlockid(int blockid) {
        this.blockid = blockid;
    }

    public String getBlockName() {
        return blockName;
    }

    public void setBlockName(String blockName) {
        this.blockName = blockName;
    }

    public Set<News> getNews() {
        return news;
    }

    public void setNews(Set<News> news) {
        this.news = news;
    }
}
